package com.jspxcms.plug.repository;

import com.jspxcms.common.orm.Limitable;
import com.jspxcms.plug.domain.PlugHospital;
import com.jspxcms.plug.domain.Resume;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.Repository;

import java.util.Collection;
import java.util.List;

public interface PlugHospitalDao extends Repository<PlugHospital, Integer>, PlugHospitalDaoPlus {

	public Page<PlugHospital> findAll(Specification<PlugHospital> spec, Pageable pageable);

	public List<PlugHospital> findAll(Specification<PlugHospital> spec, Limitable limitable);

	public PlugHospital findOne(Integer id);

	public PlugHospital save(PlugHospital bean);

	public void delete(PlugHospital bean);
}
